<%@include file="/WEB-INF/templates/configuration.jsp" %>
<%-- 
    Document   : user_profile-body
    Created on : 16-Nov-2012, 16:53:07
    Author     : Roald
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="windows-1252"%>
<style type="text/css">
    .user-table th{
       text-align:left; 
    }
    .profile-picture{
        border:2px solid orange;
    }
    .profile-header{
        padding-right:5px;
        padding-bottom:20px;
    }
    .edit{
        top:5px;
    }
    
</style>
<h2 class="profile-header" style="">${pageTitle}</h2><a href="edit?id=${user.userId}" class="edit">edit</a>
<br/>
<br/>
<div class="right">
    <img class="profile-picture" width="150px" height="150px" src="${user.profilepicture}"></img>
</div>
<div class="left">
    <table class="user-table">
        <tr>
            <th>First Name:</th>
            <td>${user.userFirstName}</td>
        </tr>
        <tr>
            <th>Surname:</th>
            <td>${user.userLastName}</td>
        </tr>
        <tr>
            <th>Email:</th>
            <td>${user.userEmail}</td>
        </tr>
        <tr>
            <th>Land of Origin:</th>
            <td>${user.userLandOfOrigin}</td>
        </tr>
        <tr>
            <th>Type of User:</th>
            <td>${usertype}</td>
        </tr>
    </table>
</div>

